//
//  Date-Extesion.swift
//  JFDouYu
//
//  Created by xujf on 2018/1/9.
//  Copyright © 2018年 XuJF. All rights reserved.
//

import Foundation
extension Date{
    
        static func getCurrentTime() -> String
        {
            let nowDate = Date()
            let interval = Int(nowDate.timeIntervalSince1970)
            
            return "\(interval)"
        }
}
